package com.atde._03_creational_design_patterns.builder;


/**
 * @BelongsProject: hsp_java_design_mode
 * @BelongsPackage: com.atde._03_creational_design_patterns.builder
 * @Author: Del
 * @CreateTime: 2025-06-18  18:00
 * @Description: 构建者模式（传统写法） -- 构建子类
 * @Version: 1.0
 */
public class CommonHouse extends AbstractHouse{
    @Override
    public void buildBasic() {
        System.out.println("普通房子打地基5米");
    }

    @Override
    public void buildWalls() {
        System.out.println("普通房子砌墙10cm");
    }

    @Override
    public void roofed() {
        System.out.println("普通房子封顶");
    }
}
